ampersandampersand
Type
operator
Summary
Concatenates two strings and inserts a space between them.
Syntax
<string1> && <string2>
Description
Use the && operator to combine two strings with a space between them, for example, to combine two words or phrases. That is, string1 && string2 results in a string consisting of string1, a space, and string2.
Parameters
Name | Type | Description |
---|---|---|
string1 | string | A literal string of characters (delimited with double quotes), or expressions that evaluate to strings. |
string2 | string | A literal string of characters (delimited with double quotes), or expressions that evaluate to strings. |
Examples
put "my" && "house" -- evaluates to "my house"
put field "First" && field "Last" into field "Name"
ask "Enter a name for this card."
set the name of this card to it && "Card"
Related
keyword: it
constant: space
glossary: character, concatenate, delimit, double quote, evaluate, expression, literal string, operator, string
Compatibility and Support
Introduced
LiveCode 1.0
OS
mac
windows
linux
ios
android
web
Platforms
desktop
server
mobile